﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AutenticacaoForm.aspx.cs"
    Inherits="SisVenda.Web.AutenticacaoForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Autentição - SGV</title>
    <link rel="stylesheet" href="App_Themes/Tema/screen.css" type="text/css" media="screen"
        title="default" />
    <script src="Scripts/MSGAguarde.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $(document).pngFix();
        });
    </script>
</head>
<body id="login-bg" style="margin: 0pt;">
    <form id="Form1" runat="server">
    <!-- Start: login-holder -->
    <div id="minhaDiv">
        <!-- start logo -->
        <div id="titulo" class="titulo">
            <!-- <a href=""><img src="App_Themes/Tema/Imagens_Login/submit_login.gif" width="156" height="40" alt="" /></a> -->
            SGV-Sistema Gerenciador de Vendas
            <br />
            <br />
            <br />
        </div>
        <!-- end logo -->
        <asp:Login ID="LoginUser" runat="server" EnableViewState="false" RenderOuterTable="false"
            DestinationPageUrl="~/Home.aspx" FailureText="Falha na autenticação. Por favor, tente novamente.">
            <LayoutTemplate>
                <!--  start loginbox ................................................................................. -->
                <div id="loginbox">
                    <!--  start login-inner -->
                    <div id="login-inner">
                        <table border="0" cellpadding="0" cellspacing="0" runat="server">
                            <tr>
                                <th>
                                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Usuário:</asp:Label>
                                </th>
                                <td>
                                    <asp:TextBox ID="UserName" runat="server" CssClass="login-inp"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                        CssClass="failureNotification1" ErrorMessage="Nome de Usuário é necessário."
                                        ToolTip="Nome de Usuário é necessário." ValidationGroup="LoginUserValidationGroup"
                                        ForeColor="White">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <th>
                                    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Senha:</asp:Label>
                                </th>
                                <td>
                                    <asp:TextBox ID="Password" runat="server" CssClass="login-inp" TextMode="Password"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                        CssClass="failureNotification1" ErrorMessage="Senha é necessária." ToolTip="Senha é necessário."
                                        ValidationGroup="LoginUserValidationGroup" ForeColor="White">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <th>
                                </th>
                                <td valign="top">
                                    <asp:CheckBox ID="RememberMe" runat="server" CssClass="checkbox-size" />
                                    <asp:Label ID="RememberMeLabel" runat="server" AssociatedControlID="RememberMe" CssClass="inline">Mantenha-me conectado</asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <th>
                                </th>
                                <td>
                                    <div>
                                        <asp:Button ID="LoginButton" runat="server" CommandName="Login" SkinID="Login" CssClass="submit-login"
                                            ValidationGroup="LoginUserValidationGroup" />
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <!--  end login-inner -->
                    <div class="clear">
                    </div>
                    <a href="" class="forgot-pwd">Forgot Password?</a>
                </div>
                <!--  end loginbox -->
                <div class="clear">
                    <span class="failureNotification1">
                        <asp:Literal ID="FailureText" runat="server"></asp:Literal>
                    </span>
                    <asp:ValidationSummary ID="LoginUserValidationSummary" runat="server" CssClass="failureNotification1"
                        ValidationGroup="LoginUserValidationGroup" ForeColor="White" />
                </div>
            </LayoutTemplate>
        </asp:Login>
    </div>
    <!-- End: login-holder -->
    </form>
</body>
</html>
